﻿using Microsoft.Phone.Controls;
using SimCa.Model;

namespace SimCa
{
    public partial class MainPage
    {
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/2000503700009_0.png", Name = "banana" });

            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/7340011428497_0.png", Name = "kiwi" }); // 

            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/2000516200008_0.png", Name = "apples" }); // apples

            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/2000506000007_0.png", Name = "lemon" }); // lemon
            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/8717591120506_0.png", Name = "ananas" }); // ananas
            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/8713014598501_0.png", Name = "grapes" }); // grapes

            for (int i = 0; i < 10; i++)
            {
                SimpleListBox.Items.Add(new Item {Name = "Dummy"});
            }

            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/2000503400008_0.png", Name = "avokado" }); // avokado
            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/2000501400000_0.png", Name = "orange" }); // orange
            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/2000530200008_0.png", Name = "waterlemon" }); // waterlemon
            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/2000613700005_0.png", Name = "onion" }); // onion
            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/2000617700001_0.png", Name = "tomato" });// tomato
            SimpleListBox.Items.Add(new Item { ImageUrl = "https://d2i1ofz69vk5mz.cloudfront.net/images/entries/180x220/2000604500003_0.png", Name = "cucumber" }); // cucumber
        }
    }
}